bool not defined on MinGW
Cleanup