Fix compilation warnings found with clang 3.5