Fix R2 compile (thx to Travis)