gcc bugfix for geomertryloader