Made WPF target compile again.