Fix toxcore linkage on qnx