Determine Cygwin or Linux, but still has error when ld on Cygwin