In the case of ATLAS, for example, BLAS_LIBRARIES become a list. Fix the logic getting INCLUDE dir path for such case.
In the case of ATLAS, for example, BLAS_LIBRARIES become a list.
Fix the logic getting INCLUDE dir path for such case.

keisuke-umezawa/chainer,keisuke-umezawa/chainer,chainer/chainer,niboshi/chainer,hvy/chainer,okuta/chainer,ktnyt/chainer,jnishi/chainer,chainer/chainer,wkentaro/chainer,wkentaro/chainer,hvy/chainer,hvy/chainer,okuta/chainer,chainer/chainer,ktnyt/chainer,wkentaro/chainer,niboshi/chainer,wkentaro/chainer,ktnyt/chainer,jnishi/chainer,jnishi/chainer,tkerola/chainer,okuta/chainer,keisuke-umezawa/chainer,pfnet/chainer,jnishi/chainer,niboshi/chainer,chainer/chainer,okuta/chainer,keisuke-umezawa/chainer,ktnyt/chainer,niboshi/chainer,hvy/chainer