Make build environment detection generic

The build detection environment will now work for all Unix-type OS.

Added --clang option to Configure.pl to force use of clang if it is installed.