Fixed the std::system calls to work.