Made the common files a library project. Updated the gcc Makefiles appropriately.