fix CMake script to find headers