Give a sensible error message if attempting to construct a class with no accessible constructor