Fixed CMake std c99 problem