clang and mac 10.9 fixes.
strlcpy is a macro defined by the system libraries in Xcode 5.
This causes a duplicate definition error.

Change-Id: I4d40a9e8ef13d7d7cf8bfa9d9d02b73febfcbe38