Building script and CMakeFiles