Fix bug when no extension (xhprof, qafooprofiler) is installed.