Build static library as default.