Build static lib.