Fix building issue for VC compiler. And enable GenFvMap in building CCode package.