PORT-17 Fix Linux Buidls

Linux builds now working happily from soup-to-nuts on `Ubuntu 14.04`. Need to test `12.04` and `CentOS`, but if there are any problems there it'll be a separate ticket.