Enable check with various versions of gcc (e.g. CC=gcc-4.8 ./configure)

This change avoid:
    lmp-v                         : TEST SKIPPED (compiler is not GCC)