get char* from boost::filesystem::path
Merge pull request #1066 from alex85k/patch-path-cstr

Obtain char* from boost::filesystem::path on all systems