Updated OS X build script to reflect compatibility with newer releases of the OS