Fix compilation for *nix jdk?

On the command line on my machine and on build3, Type collides and stuff doesn't work.
Eclipse works though, there must have some compliancy magic that hides Window.Type.