Revert "[Bugfix] fix build script"

This reverts commit ab4b3fb6723a9b4a3cb72920bef2e8eb1a19a266.