Update buildLibrary.js