Simplify rpath configuration settings.

Using a global variable instead, set to the proper value according to the system used to compile