Ubuntu build fixes and vagrant setup for EC2.