fix bug for building script

Signed-off-by: huhamhire <me@huhamhire.com>