Fix compilation of linq.