Rename BOOL(v) to BOOLOF(v) to fix clash with the windows header file windows.h