Guard LMNN with HAVE_LAPACK due to PCA use.