Updated WPF project to .net 4.0