Fix linkltc Makefile; remove duplicate const specifiers
Fix dist_config.py and add link-install script generation
Fix handling of unpaired high surrogates in UTF-8