added sys.libdir; modified macro variable for directory name