Compiles and passes unit tests on Windows with GCC and MSVC