Only run CEDET mode hook after CEDET has been loaded