fixed compiation errors for alarmd_client