fixed dwm compile errors