Sets negative return code when Japid command fails.

This change is needed for CI builds to detect that compilation has
failed.