(maint) Make WMI local static var const

Allow further optimization by making a local static string constant.
Merge pull request #185 from MikaelSmith/maint/master/make-static-var-const

(maint) Make WMI local static var const