Take the root of the install into account while replacing the variables in the setup.py