Changing the install script to fix Xcode issue

See the comment block for explanation.