Removed dependency on custom LD_LIBRARY_PATH

Added runtime path to check libraries through the rpath linker option.

The library directories are actually set to a relative path, resolved at
run time, with the $ORIGIN option.