Allow CasparCG compilation with VS++ 2010 Express

Without these patches CasparCG can't be built using Visual Studio 2010 Express.