Protobuild linux fixes, probablly should have included with the last PR

I probably should have included this with the last pull request, sorry. Also if you guys want to keep &lt;binary&gt; instead of &lt;reference&gt; you'll need to add ".config" files, or set local copy to false.
no way to disable local copy, I'll modify config files in dependencies then...