Adds static library.