build for mac and linux