added build scripts for mavericks