add -DRETRO flag for win build