build: allowing user to override check for bad versions of boost.

Use -DENABLE_BAD_BOOST=True to use one of these Boost versions.
Merge branch 'maint'