try_compile: More useful error if insufficient arguments

Tweak try_compile and try_run to give a more informative error (rather
than "unknown error") when given an insufficient number of arguments.
5 files changed