Creates directories used as working directories
Parses output from ldd to copy /bin/sh + deps