[PATCH 6/6] Provide assert_perror when it's not defined