Add putclip and getclip for Darwin