get nxlog working again and kibana to build.

made important changes