Fix bug on CMakeFiles