adds TARGET_BASEPATH config var, overriding PACKAGE_NAME

in case you want to install or use chicken system-wide, for example,
and not use chicken somewhere under /data/data.

note that TARHET_BASEPATH will overrride PACKAGE_NAME, but if TARGET_BASEPATH is not present, PACKAGE_NAME will be used instead.