further resource loading changes for win packaging