Fixed WPF project generator

Final fix for #17