improve error reporting for failed commands in build script
fixes in the OS X package installation and add script for uninstallation