Fixed an issue with deploying third-party libraries on Windows [ci skip].