use makefile to pass travis-ci tests