Revert "Make bundle script platform independent"

This reverts commit 5d8bb363138a9d070663edbacec34eb6c8174763.