Add static library building