Fixed buildsystem: Renamed CXX_FLAGS to CXXFLAGS.