GEODE-3630: Fixes compiler errors on gcc.
GEODE-3630: Fixes compiler errors on gcc.

mhansonp/geode-native,mmartell/geode-native,mhansonp/geode-native,pivotal-jbarrett/geode-native,mhansonp/geode-native,pivotal-jbarrett/geode-native,pivotal-jbarrett/geode-native,mhansonp/geode-native,mmartell/geode-native,mmartell/geode-native,mmartell/geode-native,mmartell/geode-native,pivotal-jbarrett/geode-native,pivotal-jbarrett/geode-native,mhansonp/geode-native,pivotal-jbarrett/geode-native,pivotal-jbarrett/geode-native