Fixed strange import errors on travis.