Fix buildsystem for travis-ci