Support 32bit and 64bit