Compilation bugfix for I2C beeper

Software does not compile when you define a beeper connect through I2C.
Merge pull request #80 from Jerome-PS/patch-1

Compilation bugfix for I2C beeper