Fixing warnings on Travis