Fix error message for a post-5.8 world