Automatic detection of OS to Makefile.inc