Fix a few warnings that prevented Travis from compiling