Fix Issue 14

Fix [issue 14](https://github.com/antinucleon/cxxnet/issues/14)，when using  blas=1 in main/Makefile and tools/Makefile