Improve error messages when prerequisistes are missing.