functional static compile support for win32