turn off deprecation warning if glog needs so
turn off deprecation warning if glog needs so

Summary:
This addresses #162 for thatguymike
Closes https://github.com/caffe2/caffe2/pull/172

Differential Revision: D4620982

Pulled By: Yangqing

fbshipit-source-id: df3ef45f2c95418c538baa65d5dde3755cb25d1c

davinwang/caffe2,xzturn/caffe2,davinwang/caffe2,bwasti/caffe2,pietern/caffe2,sf-wind/caffe2,Yangqing/caffe2,Yangqing/caffe2,bwasti/caffe2,davinwang/caffe2,bwasti/caffe2,pietern/caffe2,pietern/caffe2,bwasti/caffe2,sf-wind/caffe2,xzturn/caffe2,Yangqing/caffe2,bwasti/caffe2,caffe2/caffe2,pietern/caffe2,pietern/caffe2,Yangqing/caffe2,sf-wind/caffe2,Yangqing/caffe2,sf-wind/caffe2,xzturn/caffe2,sf-wind/caffe2,xzturn/caffe2,davinwang/caffe2,davinwang/caffe2,xzturn/caffe2