libgroove: reorder dependencies to overcome resolution bug