Fix FX_BOOL compilation errors under windows