Removed linking to libraries while building a static library