Fixed failing geos build on linux.