A novel numerical method for simulations of isothermal, compressible two-phase flows \textbf{of one fluid component} near the critical point is presented on the basis of a diffuse-interface model and a Van der Waals equation of state. Because of the non-convexity of the latter, the nature of the set of governing equations is mixed hyperbolic-elliptic. This prevents the application of standard numerical methods for compressible flow. Moreover, the Korteweg capillary stress tensor, characteristic for the diffuse-interface approach, introduces third-order spatial derivatives of mass density in the Navier-Stokes equation, resulting in a dispersive behavior of the solution. Our computational method relies on a transformation of the conserved var...