Update linq.ts to compile with 0.9.5 compiler