Add method to check if some flags work with g++
Use that mechanism to check if "-lblas" works

before returning it as default value
Do not try to execute g++ if config.cxx is empty
Merge pull request #1228 from lamblin/default_blas_flags

Test default blas flags before using them