Fix for newer boost libraries.