Add libgenlock