ensure correct CXX compiler is used for building boost python