Fixed build warning with gcc 4.7.3

  [Problem] build warnings
            - warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
            - warning: extra tokens at end of #endif directive [enabled by default]