Fix travis, coveralls and out of tree build

Making sure out of tree build works and making sure that coveralls actually
works.