Build static libraries