different attempt at handling windres vs rc