Platform-aware Makefile