added linux shared library loading