[CCConsole]get correct screen size
fix windows comipile