Add the library before doing any of the wrapping.