Fix 'no applink' error on Windows