Makefile: add support for $LIBDIR

Enable make to specify ${PREFIX}${LIBDIR} to install library
files to e.g. /usr/lib or /usr/lib64 depending on the arch.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Makefile: break too long lines to be readable

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Makefile: fix invalid variable in uninstall

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
kinetic_allocator.c: make some not defined symbols static

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
kinetic_logger.c: make some not defined symbols static

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
kinetic_client.c: fix invalid pointer value check

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Merge pull request #4 from dalgaaf/wip-da-cgcc-fixes

Fix some issues from cgcc build
Merge pull request #3 from dalgaaf/wip-da-build-fixes

Fixes for build/make
Merge branch 'master' of github.com:Seagate/kinetic-c