Fix clang 3.0 warnings