Fixed clang compilation problems. All of them proper bugs/typos, that GCC just let go (no bad side effects).