windows build fixes

A release would be appreciated, as this is keeping my autobuilder from working.