fix c# build failure