Windows dll for 1.3.1 - with dirty fix for #2277