Fix string conversion introduced with OpenLib.

no known conversion from 'const std::string' to 'const char*'
Merge pull request #26 from anthraxx/master

Fix string conversion introduced with OpenLib.