Add a option to disable the library