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.