fmemopen is no none BSD, so reverse the logic: linux and cygwin