Make copyright/license consistent in libs/mods

And add defined or die where missing.