fixed Makefile on certain systems