sort out the VS2008 build problems

simplify our cmake approach to this