check for libraries in getVariableDepends