add nosync compile flag

Signed-off-by: xiehuc <xiehuc@gmail.com>