updated dependencies script; add absolute paths to avoid library link issue