fix Makefile compatible with Linux