fix c++11 gdal build