fix windows build details
tweak interface from Matt Richardson