optimize phar build