Merge pull request #5 from sgielen/master

Add a LICENSE and fix the build.