Fixes for binary installer for osx