Support SunOS and Linux in Makefile