Refining compiling in cygwin