More mac-friendly build system, i hope

Also, removed scripts, since they are (almost) exact duplicates of
corestar ones.  Duplication is naughty.