A variable transformation approach for boundary element solutions of wave propagation in non-uniform potential flows