Fix Travis builds for Commons.