fix 64bit compile errors