fix some warnings found by clang
travis configuration