Fixed #260 with checks for strlcpy and strlcat

(cherry picked from commit 966d2ae8e9d135da8296780069afb1b3490dfc01)

Conflicts:
	configure.ac

The build on OS X Mavericks was failing without this commit.