added travis-ci file and fixed build on debian