Adding rpath for the linux builds
Remove platform check for rpath