Allow out-of-tree builds for 'tests' directory also