Update api example compilation instructions.