Add BSD support (jot). Not tested.