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

Please look at the following JIRA: https://jira.codehaus.org/browse/GEOT-4850.