Use slow path for PHP 5.3 only; fix #851
Merge pull request #852 from sjinks/issue-851

Best effort fix for Mongo's bugs