Fixing resource load error in windows.