scripts: Ensure OSX build works on older versions. Fixes #147.