Made project compatible with VS2010