- added check for clang to use the same compiler options as gnu g++