Get test paths right for out-of-source-tree builds.