Lyman break galaxies and the Ly alpha forest