I had the same problem and your solution worked for me. I hope you didn't change anything else with the standalone build because I'm trying to judge the 7DRL version. :-)
I didn’t change anything in the standalone version, apart from changing the build process to “bake in” the .NET libraries that I was using.