Treat GlobalOptFlags as flags rather than just an enum