mkl_compile_check now uses LDFLAGS too