Ensure that if ghc compilation fails then we return a non-zero error code from build.bat