Make it C++-11 compatible

GCC tells tales about C++-11 not allowing an implicit coercing from
int to bool...