Fixed different GetPrefixOfNamespace behavior on Win and Android.