Revert "Remove headers from CMakeLists.txt." (sort of).

This reverts commit 25172c72ae9cc494d12b887c6429778b10e36a84.