Make sure the tests passes on HHVM
Merge pull request #244 from Nyholm/hhvm

Add extensions if not HHVM