Fixed windows icon replacement by changing the build order