add library definitions