fixes #116, added makefile