Build: Made build script fail if build fails

Technical Description:
- build-unknownnet.sh will return '2' to simulate a non-zero error code if the build fails.