Fix NotImplementedException incompatibility for HHVM 3.2+

Fixes #60.