Add blocks to allow compilation with C89 compilers.

C89 compilers can't do mixed definitions and code.