Compilation failure on cygwin