Fixes compilation for ios5 deployment target