compiling for 64bit: types and format strings