makefile fixed for build from github checkout