Patches stdlib to cooperate with other greenlets