Fixes dynamic compilation (fixes #9)

Fixes dynamic compilation on systems where -lblas is required
for symbols such as `dgemm_`