Fix warning and turn on -Werror for Travis