add build for mac & linux32