Make build_tests.sh work on a mac.