HHVM compatibility fix