avoid 32/64bit compiling error by marco