Adjusted rpath and removed unusued -L directives