style fixes to build on travis