cmake: fix llvm detection for win32, it seems link_directories doesn't support debug/optimized keyword