formalize license
Fix compilation warning on old gcc versions.