Build static libs.