fixes due to pecl tgz problem