Use common source dir for tests on OS X.