Improved CMake files. CMake use file got some improvments.