prefix detection. this is the first step to making e17 itself re-locatable (install anywhere) SVN revision: 14857