Statically link cfupgrade to libcompat.