Changed makefile to be more bsd compatible.