Make it possible to use LGPL instead of GPL

If other licenses are required, this needs to be rewritten, but that is
not the case atm.
Merge pull request #6 from sengels/master

Make it possible to use LGPL instead of GPL