fix moving of shared libs