fixes a compile error on visual studio when using interrupts