Add missed CMake include for check_include_file

Issue 2820