cmake: abort if pthreadsGC2 can't be found (as it would fail on install)