Go to where the game is installed in the Steam folder. A quick way to get there is to right click the game in the Steam Library and select properties. Select the Local Files tab and click Browse Local Files... From there, go into the Game folder, locate the d3d9.dll and delete it.