This is a temporary fix to unblock dotnet compile on OS X. It copies the corehost from the install location to /usr/local/bin in postinstall. Fix 294
Add proper symlinks to the postinstall script. Also, the permissions of the resulting directory post-install were wrong (set to root:wheel). This is fixed by using the --ownership preserve switch to pkgbuild. Fix #247