Try to add the option to build a library