fix wpf_app_env include bugs