I found the necessary libraries for x64 on github and uploaded them to Google drive so that they are in one place. And by replacing the built-in libraries with new ones, all the problems disappeared. Tested on nimx. I have posted a link to Google drive here so that others don't have to search for the necessary files all over github for a long time. Unfortunately the moderators have hidden the link