fix makefile and use travis ci