Make ferret fail better when C++ code is not compiled