Added buildscript for mac