Fixed testing with out-of-source builds using cmake
2 files changed