Fix makefile build errors not causing Visual Studio build to fail

Error List window is also correctly populated with errors