fix matching ubuntu platform