Moved control flags for Win API headers from core module to global config.