Getting mingw64 build working