minor makefile tweaks for OS X