windows: better approach to manifest

Works for VS 2008 and 2012, at least.