Added License and updated macbuild