clean up the Makefile parts related to osx packaging.

Add phony target for `buildosxpkg' target. Clean the intermediate
pkg file.