Properly substitute LTLIBICONV in the makefile
Check for strlcpy and libbsd during configure

On BSD-derived systems (such as OS X), where strlcpy already exists
in libc, we can build just fine without libbsd.
Merge pull request #9 from mstorsjo/detect-libbsd

Check for strlcpy and libbsd during configure