Fixed linker shared library problem