[Olena-patches] [PATCH 04/32] Make bootstrap compatible with Mac OS X.