Fixed bug where relative path doesn't work.

use suited environment variable
Merge pull request #3 from tanB/bugfix-missing-install-path

Fixed bug where relative path doesn't work.