Add a better error message.
Merge topic 'try_compile-targets' into next

8bbab24 Add a better error message.