included wiringPi library reference in Makefile.  Fixed code to exit client.