Turns out the makefile just didn't have the line that created the .dll! I ran that separately a few days ago and accidentally had it set to 32 bits, and running the makefile wasn't overwriting it as I had expected. Everything's working now!