Creating and Linking Static Libraries on Linux with gcc