upgrade boost.m4

fixes scary warning from configure:
    checking for the toolset name used by Boost for g++... configure: WARNING: could not figure out which toolset name to use for g++
Merge pull request #759 from zeha/f/upgrade-boost-m4

upgrade boost.m4