Fix cygwin detection in Makefile
Remove redundant -D that was causing problems on OSX

The prior `mkdir -p` took care of what -D was supposed to do.
Merge remote-tracking branch 'jjthrash/osx-install-fixes'