PHP 5.3/5.4: Fix loading Zend Extension PECLs

@dobbymoodge review pls