fix 32bit build, update darwin config files