Fix compilation on Mac under XCode 4.6