added missing clang flags & small code fix