Fixed compilation error

CMAKE_CXX_FLAGS is string, not a list property
v2.24.13.6