fix gdal compile with msvs 2013 - closes #2257