Fixed the bug with weak & NSProxy on iOS 5 and too smart optimizing compiler.