fix HHVM incompatibility

ref https://github.com/facebook/hhvm/issues/2544