(core+) retexture support made optional, win32 buildfixes