Fix install order to work with travis CI build plan