Tweaking build for travis ci