changing cursor color is expensive in osx.
only enforce browse-url-fn in gnu/linux