[python3] Test first for boost_python presence