Added -fcommon to compile option in order to make multiple definition warnings instead of errors
Since GCC 10, the new default is -fno-common, so it breaks compilation because of now unsupported "ld: multiple definition". This MR makes it compile again by forcing -fcommon to the compile chain.
(reference: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85678)