Do not hook if LBE installed

Closes #1231