Fixes: (1) - Output stream issue, (2) Fix sprite build issue affecting msbuild