Fix building on Linux

Need to use msbuild tasks instead of hard-coding Windows commands.