make bl c++ ready