add gnu-compatible makefile
fix paths, remove XXX, prepare for release