Updated Makefiles to check for compiler version.