altered build chain for travis and github