Issue #4749: Fix Xcode < 5.1 compile problem with spider monkey