PHP 5.4 support on Debian Squeeze

Fixes #6.