detect gcc 4.9 in configure

and silence warning: checking for the toolset name used by Boost for g++... configure: WARNING: could not figure out which toolset name to use for g++