Rename a few local variables

So they are differnt to the global variable in the same file.
Update csu to use data passed to it by rtld