[PATCH 2/2] loader: Implement preloader for Mac OS.