fix(lib): adapt to the new move semantics of binary operators