Fix PHP 5.3 compatibility
Merge pull request #22 from sebastien-roch/master

Fix PHP 5.3 compatibility