CMake
Cast const char* to char* to avoid compiler warning
Merge branch 'portability' into cmake