      call health#report_ok('Using pre build')
 -  elseif executable('node')
 -    call health#report_info('Node version: ' . system('node --version'))
-+  elseif executable('@node@')
++  else
 +    call health#report_info('Node version: ' . system('@node@ --version'))
      let l:mkdp_server_script = s:mkdp_root_dir . '/app/server.js'
      call health#report_info('Script: ' . l:mkdp_server_script)

     let l:cmd = [l:pre_build, '--path', s:script]
-  elseif executable('node')
-    let l:cmd = ['node', s:root_dir . '/app/index.js', '--path', s:script]
+  elseif executable('@node@')
+    let l:cmd = ['@node@', s:root_dir . '/app/index.js', '--path', s:script]
   endif
   if !exists('l:cmd')

   if executable(l:mkdp_server_script)
     let l:cmd = [l:mkdp_server_script, '--path', s:mkdp_root_dir . '/app/server.js']
-  elseif executable('node')
+  else
     let l:mkdp_server_script = s:mkdp_root_dir . '/app/index.js'
-    let l:cmd = ['node', l:mkdp_server_script, '--path', s:mkdp_root_dir . '/app/server.js']
+    let l:cmd = ['@node@', l:mkdp_server_script, '--path', s:mkdp_root_dir . '/app/server.js']
