A way to manually provide outputType

The PHP target also takes a directory as 'output' so it's impossible to build a project (since it auto targets cpp in those cases). 

The config looks like this than:
[...]
output:'dist/',
target:'php',
[...]