Makefile modified to add lib to include path for libplctag.h header file.

tag_rw.c modified to add include of unistd.h to get getopt() and related data.