Build lib.