Bugfix: remove duplicate function.
Set project root to be relative to the executable.