Remove OS detection code from makefile.