Support for OS X.

Following changes were made:
a) Incremented the BUILDNUM in the Makefile
b) Added "<inttypes.h> for proper formatting of UINT64 datatype
c) Added the function mempcpy if it is not defined
d) "sig_t" is defined in /usr/include/signal.h, so changed the typedef to sgn_t
e) Changed the printf statements for UINT64 to pacify the compiler