Fix upower patch logic - this is compile-time, not run-time.