hhvm: hack stuff

based on @javer's ebuilds.