Added Lapack in linalg.h and a fixed a minor #elif.

@srgnuclear check this link http://www.mathkeisan.com/usersguide/man/ddot.html