always use lto in embind, workaround for a pointer issue