updated header to include BOOL definition for non-windows platforms