fix out-of-source build
added .travis.yml