Fixes dependency issues on Travis