make export PATH for local bin conditional