Fix some issues and bump dependencies
Update to ubuntu 14.04