replace: Link to -lbsd when building replace.c by hand