Added System.Core for LINQ support
Fixed enumoration crash