Do not show share button if OC.Share is undefined