shuffling wiringpi setup routines around to avoid a bug in the python bindings