Naively attempt to create needed directories.

This prevents accidentally ending up in a state where the directories
end up owned by root.

This fixes blackberry/BB10-Webworks-Packager#258

This does not attempt to fix the issue in blackberry/BB10-Webworks-Framework's configure script. It also forces configure to be run as a non-root user (where "root" == "UID 0").