handle unavailability of resource module on windows