Support latest MinGW releases. Support building on linux. svn path=/trunk/; revision=3454
Tested under NT 4.0.1382 SP6a EN_US. NOT tested under ROS, but it should NOT work, since NtQuerySystemInformation misses at least one info class needed by the application. svn path=/trunk/; revision=2352