disable using clang as default compiler in unix/linux system and small fix for main snippet