Added old implementation of nsWindow compiling in new framework (need to cleanup and sync with upstream)