Fixes VC2010 compilation errors and warnings
Add common include file for lut