Fix crash on 64bit system.