hhvm: fix build issues