configure: use the right ac macro to detect the presence of bool.h

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>