cleanup OS detection
Merge pull request #1502 from dawgfoto/cleanupMakefile

cleanup OS detection