Fixed a couple of minor issues in the MSBuild script.
Fixed a couple of minor issues in the MSBuild script.

AzarinSergey/umbraco-ditto,Hendy/umbraco-ditto,leekelleher/umbraco-ditto,robertjf/umbraco-ditto,rasmusjp/umbraco-ditto