fix compilation against X1.4.99 (thanks amoog)