Add CMake support
Make gcc happy