Fix for GEOT-4850
Merge pull request #508 from n-lagomarsini/GEOT-4850

[GEOT-4850]Build failure in process-raster on 2.5.x