Modularizes IMAGE_RESOURCE_DIRECTORY