Add autobuild script for OS X