Improve build library operations