todo notes plus start on fixes for #2239 on Windows
tweak 64- and 32-bit export on Windows to include JNA switch