update for 32bits compilation