Added a mkdir for the lib dir, if it's empty for a module.