[RFC] Fix stdbool.h usage

This PR is result of conversation in #921.