build: fixed the on_results problem with SAMBA_AUTOPROTO()