Check for -Wno-unused-but-set-variable gcc support