Get a very hacked-together build system working for Windows