add c++ build flag for mapnik