Allow cmake to control the boost python settings #3584.

Boost will try to auto-discover the correct python interpretter to
use.  This patch turns off the auto-discovery behavior and makes
it use the one found by cmake.

Without this patch, there's no guarantee that boost and
cmake will use the same version of python, leading to runtime
segfaults.