fix "module not found" errors on Windows (#533)

hat tip to @opengl-8080 for the fix!