fixed another version mismatch in FreeImage test
somehow RHEL doesn't propagate environment variables in 'make testreport'
when calling 'make test', forcing the variables in 'buildlocal.sh'