Fix broken building in Net package