put lib.dir directly in basedir