added compile compatibility to iOS 4.3

Hi sam:
This commit added compile compatibility to iOS 4.3
Best regards