Update CMakeLists.txt

Updated RPATH support.