Build fixes and fixed the Windows home path.