re-license bindings under LGPLv2.1 + some minor changes