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