added support for active_low to gpio.cc