Simulating compressibility in cavitating flows with an incompressible mass transfer flow solver