Mac specific changes, new dependency building shell script