fix issue with copying .so