Fix changing the user shell on FreeBSD