Fixed build for Travis and Coveralls