Use BOOST_PYTHON_LIBRARY as python library guard