Fix dynamicResourcepath for windows systems
Merge pull request #3811 from colemanw/dynPath

Fix dynamicResourcepath for windows systems