Travis CI integration

I had to change couple of flags so it compiles and runs on linux.
Still works on OSX