Fixed clang 3.2 warnings.