You can't use the Lipschitz condition because every continuous function on a compact space isn't Lipschitz!

So, let be given. By assumption is uniformly continuous and so there exists some such that for and .

Now, assume that by the boundedness of there exists some such that . So, let . Then,

.

Thus, if we have that , but this also works for since the extra non-epsilon term is superfluous.