Build in FreeBSD.

Update `t/sizes` and `t/test` to work with a POSIX shell.