fix bootstrap to work when called from bin dir in dependency from other project