Fix toolchain install script for OSX