Fixed build warning  with gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3

[Problem] build warning with gcc 4.7.3
          warning: extra tokens at end of #endif directive [enabled by default]