Fix makefile issues.

Don't force use of clang.
Use POSIX compatible grep and sed syntax.
Use POSIX compatible install arguments.