Fix Resource loading for Windows. AP-167