fix liblight compile