fixed Linux shared library build