liblights: revert to CM compatible version