Made project compilable using Mono/.NET 4.0.