Updating multi-platform-xxx template for win32. And some warning fixes.