Toxcore api change fix.