changed to build library as default