Add support for php 5.2 (is_callable)