fix libs copy problem