Made ccWindow struct common

OS specific variables were made static inside the OS specific
implementation, since only one window can be active at once.