mingw64 port: get library libfac to compile