Fix bug for absolute loader basedirs

Also tidy up variable casing.
Merge pull request #2 from LexLythius/master

Fix bug for absolute loader basedirs