Define IMAGELIB_LEGACY on existing platforms.