Fixes compilation issue with stdbool
Fixes compilation issue with windows