As compare is now available as part of the runtime, just use the standard function. Change-Id: I7b2eb2587800a6549263ede90339adeab8c946a5