Clean up symbols that are not really extensions, but Windows-only.

It will mess up the enterprise_extension_completeness_test because it
will not find the real definition of the symbols in the extension
library when the platform is not Windows. Therefore, ifdef it instead
so it is not included in other builds.