Setup LD_LIBRARY_PATH accordingly rather than keeping rpath