Fixed a bug in LBP bindings.