cast return type of wstring_length on 64 bit