Make OpenSocial dependencies optional