Put field option code generation behind a compiler flag

@loganj