Fix IODev attribute on define