Add exception handling to abort the build if the compression command fails