[WPF] Fix build