Patch Adafruit library to make it compatible with Galileo