(build) retro3d buildfixes