Fixed bug in the Makefile to compile with gcc where the library
was not getting linked properly with the gcc command line. Also
fixed a gcc compiler warning about typecasting NULL in initalizing
char array by using '\0' (null terminator character) instead of
NULL.