Changed target framework of project to 4.0