FIX HHVM issue with EntityManagerFactory