Fix platform matching issue for sol, lnx, lam.