add custom phar stub, fixes #382