fixes 1538
Merge pull request #1556 from nathanhilbert/wingdal1538

Fixes windows gdal issue.  Fixes #1538.