Makefile and Linux compatibility