Makefile update for pkgsrc compatibility