Added RPATH settings to CMake scripts. This is needed for plugins which will reference base libs from bin directory after compilation