fix npoi examples compilation issues