allow lua extensions to specify required libraries