Support both Linux and Cygwin in Makefile