Add path.resolve to ensure winIco is absolute