Wrap the shell check in __unix__.