fix for win64 build