Fix issue #147: allow to work with phar build shared

See issue #147