Add in Osx compilation to the test.sh