fixed posix/gnu symbols on cygwin