1343: updated install scripts to work inside of the source tree and in binary packages; to allow root installation simulation