fix 64 bit compile issues.