Work around a rlib limitation