Support out-of-the-tree building of tests