update boost.m4 to support gcc4.9 an4.10