Add header file checking in CMakeLists.txt

Signed-off-by: Jason Ng Lee <JasonNgLee@fake.server.github>