only create bin/lib dirs once