When compile with `./configure && make -j`, there will be error: "unknown type name `ram_addr_t`", fix the error by adding compilation macro to control it. Signed-off-by: Jiajie Li <lijiajie11@huawei.com>