Fixing shared libs