Fixed macosx builds, taking pr #462 as reference
Fixed double check in strlcat and strlcpy, thanks Sajjad Pourali!
Merge pull request #468 from LocutusOfBorg/fix-string

Fixed macosx builds, taking pr #462 as reference