`resource` is not available on windows. Fixes #9640.
Merge pull request #9646 from s0undt3ch/develop

`resource` is not available on windows. Fixes #9640.