nsbcompile2: Fix compilation of type strings for UTF-16