Replace hardcoded lib with variable