Add __weak for delegate on iOS 5+ only

In order to allow compilation for applications targeting iOS 4.3 without losing __weak benefits for further iOS versions, you should apply conditional compilation.
Merge pull request #116 from xhaleera/patch-1

Add __weak for delegate on iOS 5+ only