Set up dependencies properly for Travis build.