Fix compilation with new lib