Set the 'windows' variable on mingw32. Thanks to Alexey Melnichuk for the heads up.