tweak build

* fix build with VS2013
* combine debug/release property sheets
* move output directory and C runtime settings into property sheet
* add C wrapper for files generated from idl to fix build dependencies