Add possibility to use array prefixes

This can be useful to use /opt/custom-php/bin/php composer.phar as a prefix, it is not possible with the current implementation