Added possibility to disable events in NodeBatch
* Removed unnecessary shared libraries from Makefile