lib: replace: Add strsep function (missing on Solaris).