Remaded installer on Mac to fix case issues from Windows-generated installer.
fixed joining bin_dir - absolute path - and cwd.