Changed the order of -l in LDFLAGS for blas