Made cpp_api project compile on Linux