Fix build on linux-x86-64 (must test on mingw32/cygwin)