Fixed compile errors in Line class.