Read the symbols from the dynamic libs rather than the static ones.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>