Added soname flags to linker stage of Makefile.