Created a Common folder for code that is shared between the variants. Updated the gcc and clang Makefiles to use this folder.