Fix dynamicResourcepath for windows systems