Moved windows specific system.d code to windows.d