Workaround for UWP native build (#2369)