Fixes on the OSX installer script