Attempting to fix detector checks for HHVM 3.3.