fixed profile build configuration after introducing C++ functions