Adjust resolver failure (voltage loss) threshold to less sensitive. Also fix makefile error on windows plattform.