Turn off the hook detection unless explicitly compiled in