some settings so that it compiles in cygwin64