set proper lib dir