Fix a bracket issue on FreeBSD