build-mac.sh: fix mac build

Signed-off-by: Bao Haojun <baohaojun@gmail.com>