Sync some build files from master.