remove unecessary logging files, and fix the build options to make hcatalog also build with hadoop-23