added back guards to gpio.h