Fix warnings from clang 3.2