Fixed hhvm build for laravel/framework

Travis result: <https://travis-ci.org/crynobone/framework/builds/15813291>

This should fixed #3008.

Signed-off-by: crynobone <crynobone@gmail.com>