fixes for getting travis builds green

fix some errors i got when integrating to travis.