Update project to compile with current rust trunk (pre-0.9).