Fixes a bug when using a built version.
Removes /bin from $PATH.
Fixes a typo in an error msg.