Update runtime lib dir check based on review feedback.
Update runtime lib dir check based on review feedback.

* Fixes the if statement to use all make functions, instead of a combination of
  bash and make.
* Promotes the warning to an error.
* Updates the message to be more clear about the issue.

CoryMcCartan/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel,hildeth/chapel,chizarlicious/chapel,chizarlicious/chapel,CoryMcCartan/chapel,chizarlicious/chapel,chizarlicious/chapel,chizarlicious/chapel,hildeth/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel,chizarlicious/chapel,CoryMcCartan/chapel,chizarlicious/chapel,CoryMcCartan/chapel,CoryMcCartan/chapel