fixed configure step so that boost python is only built when possible