Fixed bug of `auto_flash_from_PVT.sh` on MAC