fix compilation for latest version of XCode.