fixes for the travis build