Timezone retrieved from $TZ, fixed segfault