Move "extern C" declns out of LinAlg namespace

The compiler needs these declarations in the right namespace (the
default one by convention for LAPACK FORTRAN interfaces). Having them in
a separate namespace to avoid conflicts doesn't work since the names are
then not mangled, thus linker produces an error irrespective of the
namespace.