Fix CMake for out-of-source builds.

They are preferred now.