Added CLANG support and gcov and gprog switches in configure script