fix shadow plugin build error