Fix warnings

this fixes a few harmless but annoying warnings on my oldish (14.04) kubuntu system when using clang 3.3