r: added cairo dependency

see #587 and #593. R failed to build because of missing cairo dependency.