Fix issue for Windows: QStringBuilder lacks length() method