Work-around to compare the handle key on 64bit OS