Add support for running runtests.sh on Mavericks and Yosemite.
Merge pull request #407 from futureimperfect/master

Add support for running runtests.sh on Mavericks and Yosemite.