MINIFICPP-1540 Set up hosts file properly in ubuntu builds
MINIFICPP-1540 Set up hosts file properly in ubuntu builds

Signed-off-by: Ferenc Gerlits <fgerlits@gmail.com>

This closes #1048

dtrodrigues/nifi-minifi-cpp,dtrodrigues/nifi-minifi-cpp,dtrodrigues/nifi-minifi-cpp,dtrodrigues/nifi-minifi-cpp,dtrodrigues/nifi-minifi-cpp