Add a configure test for __func__ since it's not always a macro