add macro for numpy < 1.7
add macro for numpy < 1.7

as suggested by @longjon
https://github.com/BVLC/caffe/issues/44#issuecomment-32832810

aravindhm/caffe,hotpxl/caffe-m2,liuxianming/caffe_feedback,audtlr24/caffe,naeluh/caffe,audtlr24/caffe,shuimulinxi/caffe,liuxianming/caffe_feedback,audtlr24/caffe,longjon/caffe,sichenucsd/caffe_si,suixudongi8/caffe,jieshen-sjtu/caffe-for-DDNet,shiquanwang/caffe,flickr/caffe,naeluh/caffe,longjon/caffe,nicodjimenez/caffe,yikeliu/caffe-future,pcoving/caffe,tackgeun/caffe,MoskalenkoViktor/caffe,aravindhm/caffe,sichenucsd/caffe_si,yikeliu/caffe-future,niuzhiheng/caffe,audtlr24/caffe,MoskalenkoViktor/caffe,dylansun/caffe,minghuam/caffe,CZCV/s-dilation-caffe,hotpxl/caffe-m2,nicodjimenez/caffe,wangg12/caffe,sguada/caffe-public,MoskalenkoViktor/caffe,xidianwlc/caffe,vibhav-vineet/caffe,xidianwlc/caffe,orentadmor/caffe,sguada/caffe-public,flickr/caffe,shuimulinxi/caffe,sguada/caffe-public,shuimulinxi/caffe,yikeliu/caffe-future,shiquanwang/caffe,nicodjimenez/caffe,hotpxl/caffe-m2,CVML/sds_eccv2014,suixudongi8/caffe,gnina/gnina,shiquanwang/caffe,intelcaffe/caffe-old,xidianwlc/caffe,suixudongi8/caffe,tackgeun/caffe,minghuam/caffe,Hilovaiserillis/caffe,gnina/gnina,gogartom/caffe-textmaps,longjon/caffe,dylansun/caffe,liuxianming/caffe_feedback,dculibrk/boosted_pooling,MoskalenkoViktor/caffe,nicodjimenez/caffe,dylansun/caffe,MoskalenkoViktor/caffe,orentadmor/caffe,Hilovaiserillis/caffe,intelcaffe/caffe-old,gnina/gnina,aravindhm/caffe,naeluh/caffe,niuzhiheng/caffe,intelcaffe/caffe-old,CZCV/s-dilation-caffe,dculibrk/boosted_pooling,wangg12/caffe,flickr/caffe,vibhav-vineet/caffe,Hilovaiserillis/caffe,jieshen-sjtu/caffe-for-DDNet,shuimulinxi/caffe,dylansun/caffe,flickr/caffe,gnina/gnina,gogartom/caffe-textmaps,Hilovaiserillis/caffe,CZCV/s-dilation-caffe,intelcaffe/caffe-old,niuzhiheng/caffe,minghuam/caffe,audtlr24/caffe,niuzhiheng/caffe,gogartom/caffe-textmaps,naeluh/caffe,niuzhiheng/caffe,orentadmor/caffe,orentadmor/caffe,CZCV/s-dilation-caffe,gogartom/caffe-textmaps,sichenucsd/caffe_si,shiquanwang/caffe,xidianwlc/caffe,sguada/caffe-public,sichenucsd/caffe_si,dculibrk/boosted_pooling,wangg12/caffe,vibhav-vineet/caffe,jieshen-sjtu/caffe-for-DDNet,pcoving/caffe,shuimulinxi/caffe,suixudongi8/caffe,tackgeun/caffe,yikeliu/caffe-future,Hilovaiserillis/caffe,bharath272/sds_eccv2014,nicodjimenez/caffe,dculibrk/boosted_pooling,gnina/gnina,liuxianming/caffe_feedback,vibhav-vineet/caffe,wangg12/caffe,hotpxl/caffe-m2,hotpxl/caffe-m2,pcoving/caffe,aravindhm/caffe,dculibrk/boosted_pooling,flickr/caffe,dylansun/caffe,tackgeun/caffe,gnina/gnina,pcoving/caffe,pcoving/caffe,naeluh/caffe,liuxianming/caffe_feedback,longjon/caffe,jieshen-sjtu/caffe-for-DDNet,jieshen-sjtu/caffe-for-DDNet,minghuam/caffe,sguada/caffe-public