build-libraries: precreate LIBDIR