Exit with a fail code from SCons files in the case of an error.

Change-Id: I3dda6e977c2b392c91160eebf4f4ce06961acca6