Update CMake package finding script.
Dirty fix C99 header in MSVC.