add lazy loading of ioctl, simplifies code and also performance benefit if not used