cmake: link crashuploader against thread libs