Fix compilation after changes in library