add COMPILER_VERSION, COMPILER_VERSION_MAJOR, COMPILER_VERSION_MINOR, COMPILER_VERSION_RELEASE marcos for gcc compilers