Modified buildmac.sh to include libexpat