Build static library.