Fix race condition in make and exit status of rahash2