changes for win64 compile