mingw64 port: get gtest to compile