Change the gpio lib to be cpp to avoid compiler warnings