Modularize CMake setup to fix include install