Compiler check so library can still compile in iOS6