Bogoliubov speed of sound for a dilute Bose-Einstein condensate in a 3d optical lattice