Helpers: Added PHP 5.2 support.

Fixes https://github.com/XaminProject/handlebars.php/issues/16#issuecomment-23017993