Fixes travis build problems