Fix build warnings.
Travis CI support.