add a macro for checking gcc version