Merge pull request #6 from orofarne/master

Some useful changes in build system
linking boost system seems unneeded (at least on osx)
Add travis config
clean before re-installing