Fix build with PHP < 5.4 (and min version set to 5.3)

Tested against 5.3.3 (RHEL-6)