Add new target 'make dist-osx' to create a .pkg installer for OS X

This adds a new make target 'dist-osx' to create a .pkg installer for OS X, working toward #9876. This of course only works on OS X.