Make it optional to package with PackageMaker on OS X (closes #488).