Fixing linked resource build phase issue