make compile work on ubuntu
make demo work
add Dmitry and Sergey's changes to fix host id on worker/coordinator engine