added portability in makefile