Clang: enable -Werror and fix code

Does it works for everyone else too?