Fixed build on MSYS (Windows) 64-bit