Updated CMakeFile.txt to allow out of source build.