Makefile: Improve the portability