Fix definition of syev method. Correct ifdef guard.

This avoids compiler errors with clang 3.5.