Fix travis and out of tree build

Making sure out of tree build works, travis uses and tests it and that
coveralls actually works.