Fix for Boost >= 1.49.