gdal: fixed compiling errors