Fix .omegarc path logic on Windows