Tweaks for cross compiling from Cygwin to MinGW

Cygwin versions of MinGW compilers put standard libraries in /bin, not /lib