Move vcmEnsureExternal codec out of the extern "C" block.


Required for building on Linux - can't declare outside extern "C" block and then define inside one.