scripts: update generate_builds script to be compatible with macOS
scripts: update generate_builds script to be compatible with macOS

canalplus/rx-player,canalplus/rx-player,canalplus/rx-player,canalplus/rx-player,canalplus/rx-player