Add support for concat on FreeBSD