Fix regression on 32bit (windows) systems