add lib dir creation rule