fixed CMakeLists.txt problem to compile unit test code