Changes to make global installation possible.