Update lib.py

set `env.shell = "/bin/sh -c"` for FreeBSD