Fixed Linux shared library build