fix error in C graphics link