Support compilation with xc16-gcc
Differentiate Linux and Cygwin. Works for Linux. Cygwin yet untested.