Fixes compiler incompatibilities on 10.9