build C support for interrupts