Use c99 standard bool when available

I believe we should use the standard C99 bool when available. This patch does just that.