Add missed CMake include for check_include_file

Issue #2820
Merge pull request #755 from taka-no-me:add_checkinclude