Make Makefile cross-platform