build static library (linux)