[COREVM-66] Make build process abort on errors

Currently in `Makefile`, both the `make` and `make test` commands will continue to execute even there are compile or linking errors. Let's make them abort on errors before continuing.