Fix build on 5.3.6 an earlier

See http://stackoverflow.com/questions/19979611/install-mongodb-php-driver-64bit-linux/20081007