First attempt at upgrading boost in order to support python3. #4146