be compatible with org-mode

when triggered in org-export, the embedded C/C++ code while be hooked
up with c-mode or c++-mode, then cpputils-cmake will be called. but the
buffer-file-name is nil. So exception is thrown.