Updated RPATH macro

Fixed wrong variables formatting in the documentation