Preliminary platform detection in Makefile.