Merge pull request #1 from Chris00/master

Fix compilation on MacOSX and fix some warnings
Simplify somewhat the Makefile.  Use Git to create tarballs.
"clean" also remove the tarball.
Bump version.