Autodetect OS in Makefile
Consolidate .PHONY statements