Move most of compat stuff to yay.compat