Reverted changes to use again the lib folder
Fixed bug not creating the lib folder in the assemble and jar gradle tasks