Added check for WiringPi