libicu is a 40MB mess where you need only 5Kb of it. Only case folding and one normalization is needed, with tiny tables.
Additionally the used UNICODE_MAJOR and _MINOR are needed. They are always years behind, and you never know which tables versions are implemented.