Attempting to fix shell detection in FreeBSD.