fix package directive for lib