Needs USE_CMAKE.
Consolidate includes, they are needed for both.