Cleanup libights module