Compiles on Ubuntu 64bit

Signed-off-by: Cheng Yao <saturdaycoder@gmail.com>