Fix compile error on GWT, sorry!

https://github.com/libgdx/libgdx/commit/857d63a2153d251d420a32e1ab91d8241c30caab apparently made GWT unhappy. This should make it happier.