add feature macro for cygwin