ENG-5799 Improve compilation messages.