Added compiler directive for older xcode version