Support 64-bit platform.

Signed-off-by: Leo Ma <leoma@credosemi.com>