Updates to build on ubuntu 14.04/boost 1.5*.

Change-Id: Idfbbe6f0dc4e0888f404b23bb4046b8132d27940
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4296
Reviewed-by: Lenni Kuff <lskuff@cloudera.com>
Tested-by: jenkins