Fix build with -fno-common
While here extract the license text from doc/license.html into a text file.