build: shared_memory

Signed-off-by: Hu Fu <askfuhu@gmail.com>