Use bash builtin to check dependencies.