Add: More ubuntu like build

This also fixes https://github.com/CHH/php-build/issues/115. Here we added support for gz and with it enabling automatic detection for phar.