Fixed warning when checking if delegate implements callback

Signed-off-by: Jai Govindani <jai@monstermedia.co.th>
Merge pull request #33 from zodio/master

Fixed warning when checking if delegate implements callback