Fix illegal set operation in FreeBSD section of user module.

This fixes issue #4461.