fixes for travis build