Bump minimum Boost version to 1.39.

We make use of Boost.Signals2, which was introduced in 1.39.