Properly link against jsonrpc and remove old file from ui