[windows8] make plugin work on Windows8/VS2012