add mkdir_p 'build' to jsonrpc