Fixed a bug with spi and i2c support not being enabled.