updated CMake kernel c99